package org.example.lotterysystem.service;

import org.example.lotterysystem.controller.param.CreatePrizeParam;
import org.example.lotterysystem.controller.param.PageParam;
import org.example.lotterysystem.service.dto.PageListDTO;
import org.example.lotterysystem.service.dto.PrizeDTO;
import org.springframework.web.multipart.MultipartFile;

public interface PrizeService {
    //创建单个奖品,返回值是奖品id
    Long createPrize(CreatePrizeParam param, MultipartFile picFile);
    //翻页查询列表
    PageListDTO<PrizeDTO> findPrizeList(PageParam param);
}
